package com.dmap.knowledge.po;

import java.io.Serializable;

public class Banner implements Serializable {
    /**
     * 
     * 表字段 : banner.id
     */
    private Long id;

    /**
     * 
     * 表字段 : banner.company_id
     */
    private Long companyId;

    /**
     * 
     * 表字段 : banner.app_id
     */
    private Long appId;

    /**
     * 公司编号
     * 表字段 : banner.company_number
     */
    private String companyNumber;

    /**
     * 语言 ZH_CN,EN_US
     * 表字段 : banner.lang
     */
    private String lang;

    /**
     * banner跳转类型，1.文章，2,活动，3.APP模块，4.APP内web页面，5.浏览器web页面
     * 表字段 : banner.type
     */
    private Integer type;

    /**
     * 开始时间，结束时间
     * 表字段 : banner.start_time
     */
    private Long startTime;

    /**
     * 结束时间
     * 表字段 : banner.end_time
     */
    private Long endTime;

    /**
     * 
     * 表字段 : banner.description
     */
    private String description;

    /**
     * 
     * 表字段 : banner.image_url
     */
    private String imageUrl;

    /**
     * 标题
     * 表字段 : banner.title
     */
    private String title;

    /**
     * app编号
     * 表字段 : banner.app_number
     */
    private String appNumber;

    /**
     * app名称
     * 表字段 : banner.app_name
     */
    private String appName;

    /**
     * 跳转文章id/活动id
     * 表字段 : banner.jump_id
     */
    private Long jumpId;

    /**
     * 跳转文章链接
     * 表字段 : banner.jump_url
     */
    private String jumpUrl;

    /**
     * 推荐索引
     * 表字段 : banner.recommend_index
     */
    private Integer recommendIndex;

    /**
     * 排序
     * 表字段 : banner.sort
     */
    private Integer sort;

    /**
     * 浏览量
     * 表字段 : banner.browse_number
     */
    private Integer browseNumber;

    /**
     * status 1 上架，2 未上架
     * 表字段 : banner.status
     */
    private Integer status;

    /**
     * 
     * 表字段 : banner.update_time
     */
    private Long updateTime;

    /**
     * 
     * 表字段 : banner.create_time
     */
    private Long createTime;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database table banner
     *
     * @mbggenerated
     */
    private static final long serialVersionUID = 1L;

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table banner
     *
     * @mbggenerated
     */
    public Banner(Long id, Long companyId, Long appId, String companyNumber, String lang, Integer type, Long startTime, Long endTime, String description, String imageUrl, String title, String appNumber, String appName, Long jumpId, String jumpUrl, Integer recommendIndex, Integer sort, Integer browseNumber, Integer status, Long updateTime, Long createTime) {
        this.id = id;
        this.companyId = companyId;
        this.appId = appId;
        this.companyNumber = companyNumber;
        this.lang = lang;
        this.type = type;
        this.startTime = startTime;
        this.endTime = endTime;
        this.description = description;
        this.imageUrl = imageUrl;
        this.title = title;
        this.appNumber = appNumber;
        this.appName = appName;
        this.jumpId = jumpId;
        this.jumpUrl = jumpUrl;
        this.recommendIndex = recommendIndex;
        this.sort = sort;
        this.browseNumber = browseNumber;
        this.status = status;
        this.updateTime = updateTime;
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table banner
     *
     * @mbggenerated
     */
    public Banner() {
        super();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.id
     *
     * @return the value of banner.id
     *
     * @mbggenerated
     */
    public Long getId() {
        return id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.id
     *
     * @param id the value for banner.id
     *
     * @mbggenerated
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.company_id
     *
     * @return the value of banner.company_id
     *
     * @mbggenerated
     */
    public Long getCompanyId() {
        return companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.company_id
     *
     * @param companyId the value for banner.company_id
     *
     * @mbggenerated
     */
    public void setCompanyId(Long companyId) {
        this.companyId = companyId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.app_id
     *
     * @return the value of banner.app_id
     *
     * @mbggenerated
     */
    public Long getAppId() {
        return appId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.app_id
     *
     * @param appId the value for banner.app_id
     *
     * @mbggenerated
     */
    public void setAppId(Long appId) {
        this.appId = appId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.company_number
     *
     * @return the value of banner.company_number
     *
     * @mbggenerated
     */
    public String getCompanyNumber() {
        return companyNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.company_number
     *
     * @param companyNumber the value for banner.company_number
     *
     * @mbggenerated
     */
    public void setCompanyNumber(String companyNumber) {
        this.companyNumber = companyNumber == null ? null : companyNumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.lang
     *
     * @return the value of banner.lang
     *
     * @mbggenerated
     */
    public String getLang() {
        return lang;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.lang
     *
     * @param lang the value for banner.lang
     *
     * @mbggenerated
     */
    public void setLang(String lang) {
        this.lang = lang == null ? null : lang.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.type
     *
     * @return the value of banner.type
     *
     * @mbggenerated
     */
    public Integer getType() {
        return type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.type
     *
     * @param type the value for banner.type
     *
     * @mbggenerated
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.start_time
     *
     * @return the value of banner.start_time
     *
     * @mbggenerated
     */
    public Long getStartTime() {
        return startTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.start_time
     *
     * @param startTime the value for banner.start_time
     *
     * @mbggenerated
     */
    public void setStartTime(Long startTime) {
        this.startTime = startTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.end_time
     *
     * @return the value of banner.end_time
     *
     * @mbggenerated
     */
    public Long getEndTime() {
        return endTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.end_time
     *
     * @param endTime the value for banner.end_time
     *
     * @mbggenerated
     */
    public void setEndTime(Long endTime) {
        this.endTime = endTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.description
     *
     * @return the value of banner.description
     *
     * @mbggenerated
     */
    public String getDescription() {
        return description;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.description
     *
     * @param description the value for banner.description
     *
     * @mbggenerated
     */
    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.image_url
     *
     * @return the value of banner.image_url
     *
     * @mbggenerated
     */
    public String getImageUrl() {
        return imageUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.image_url
     *
     * @param imageUrl the value for banner.image_url
     *
     * @mbggenerated
     */
    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl == null ? null : imageUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.title
     *
     * @return the value of banner.title
     *
     * @mbggenerated
     */
    public String getTitle() {
        return title;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.title
     *
     * @param title the value for banner.title
     *
     * @mbggenerated
     */
    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.app_number
     *
     * @return the value of banner.app_number
     *
     * @mbggenerated
     */
    public String getAppNumber() {
        return appNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.app_number
     *
     * @param appNumber the value for banner.app_number
     *
     * @mbggenerated
     */
    public void setAppNumber(String appNumber) {
        this.appNumber = appNumber == null ? null : appNumber.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.app_name
     *
     * @return the value of banner.app_name
     *
     * @mbggenerated
     */
    public String getAppName() {
        return appName;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.app_name
     *
     * @param appName the value for banner.app_name
     *
     * @mbggenerated
     */
    public void setAppName(String appName) {
        this.appName = appName == null ? null : appName.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.jump_id
     *
     * @return the value of banner.jump_id
     *
     * @mbggenerated
     */
    public Long getJumpId() {
        return jumpId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.jump_id
     *
     * @param jumpId the value for banner.jump_id
     *
     * @mbggenerated
     */
    public void setJumpId(Long jumpId) {
        this.jumpId = jumpId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.jump_url
     *
     * @return the value of banner.jump_url
     *
     * @mbggenerated
     */
    public String getJumpUrl() {
        return jumpUrl;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.jump_url
     *
     * @param jumpUrl the value for banner.jump_url
     *
     * @mbggenerated
     */
    public void setJumpUrl(String jumpUrl) {
        this.jumpUrl = jumpUrl == null ? null : jumpUrl.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.recommend_index
     *
     * @return the value of banner.recommend_index
     *
     * @mbggenerated
     */
    public Integer getRecommendIndex() {
        return recommendIndex;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.recommend_index
     *
     * @param recommendIndex the value for banner.recommend_index
     *
     * @mbggenerated
     */
    public void setRecommendIndex(Integer recommendIndex) {
        this.recommendIndex = recommendIndex;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.sort
     *
     * @return the value of banner.sort
     *
     * @mbggenerated
     */
    public Integer getSort() {
        return sort;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.sort
     *
     * @param sort the value for banner.sort
     *
     * @mbggenerated
     */
    public void setSort(Integer sort) {
        this.sort = sort;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.browse_number
     *
     * @return the value of banner.browse_number
     *
     * @mbggenerated
     */
    public Integer getBrowseNumber() {
        return browseNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.browse_number
     *
     * @param browseNumber the value for banner.browse_number
     *
     * @mbggenerated
     */
    public void setBrowseNumber(Integer browseNumber) {
        this.browseNumber = browseNumber;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.status
     *
     * @return the value of banner.status
     *
     * @mbggenerated
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.status
     *
     * @param status the value for banner.status
     *
     * @mbggenerated
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.update_time
     *
     * @return the value of banner.update_time
     *
     * @mbggenerated
     */
    public Long getUpdateTime() {
        return updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.update_time
     *
     * @param updateTime the value for banner.update_time
     *
     * @mbggenerated
     */
    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column banner.create_time
     *
     * @return the value of banner.create_time
     *
     * @mbggenerated
     */
    public Long getCreateTime() {
        return createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column banner.create_time
     *
     * @param createTime the value for banner.create_time
     *
     * @mbggenerated
     */
    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table banner
     *
     * @mbggenerated
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", companyId=").append(companyId);
        sb.append(", appId=").append(appId);
        sb.append(", companyNumber=").append(companyNumber);
        sb.append(", lang=").append(lang);
        sb.append(", type=").append(type);
        sb.append(", startTime=").append(startTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", description=").append(description);
        sb.append(", imageUrl=").append(imageUrl);
        sb.append(", title=").append(title);
        sb.append(", appNumber=").append(appNumber);
        sb.append(", appName=").append(appName);
        sb.append(", jumpId=").append(jumpId);
        sb.append(", jumpUrl=").append(jumpUrl);
        sb.append(", recommendIndex=").append(recommendIndex);
        sb.append(", sort=").append(sort);
        sb.append(", browseNumber=").append(browseNumber);
        sb.append(", status=").append(status);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", createTime=").append(createTime);
        sb.append("]");
        return sb.toString();
    }
}